package com.my.system.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.my.system.domain.SysUser;
import com.my.system.mapper.SysUserMapper;
import com.my.system.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysUserServiceImpl implements SysUserService {
    @Autowired
    private SysUserMapper sysUserMapper;
    @Override
    public Boolean login(String userAccount, String password) {
        LambdaQueryWrapper<SysUser> lambdaQueryWrapper=new LambdaQueryWrapper<>();
        sysUserMapper.selectOne(lambdaQueryWrapper.select(SysUser::getPassword).eq(SysUser::getUserAccount,userAccount));
        return null;
    }
}
